package com.concurrent.sample.business.listener.event;

import com.concurrent.sample.business.dto.CashFlowMessageDTO;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class CashFlowEvent extends ApplicationEvent {

  private CashFlowMessageDTO cashFlowMessageDTO;

  public CashFlowEvent(CashFlowMessageDTO cashFlowMessageDTO) {
    super(cashFlowMessageDTO);
    this.cashFlowMessageDTO = cashFlowMessageDTO;
  }

}
